GET /admin/realms/{realm}/users/{id}/role-mappings/clients/{client}Get client-level role mappings for this user for a specific app
- HTTP Example:
GET /admin/realms/{realm}/users/{id}/role-mappings/clients/{client} | - API Example:
UserClientRoleMappingsResource.getClientRoleMappings({'realm': , 'id': …, 'client': …}); |
- Output:
- List<RoleRepresentation> -
- Produces:
- application/json
|
POST /admin/realms/{realm}/users/{id}/role-mappings/clients/{client}Add client-level roles to the user role mapping.
- HTTP Example:
POST /admin/realms/{realm}/users/{id}/role-mappings/clients/{client} | - API Example:
UserClientRoleMappingsResource.addClientRoleMapping({'realm': , 'id': …, 'client': …, '$entity': }); |
- Input:
- List<RoleRepresentation>
- Output:
- void
- Consumes:
- application/json
|
DELETE /admin/realms/{realm}/users/{id}/role-mappings/clients/{client}Delete client-level roles from user role mapping.
- HTTP Example:
DELETE /admin/realms/{realm}/users/{id}/role-mappings/clients/{client} | - API Example:
UserClientRoleMappingsResource.deleteClientRoleMapping({'realm': , 'id': …, 'client': …, '$entity': }); |
- Input:
- List<RoleRepresentation>
- Output:
- void
- Consumes:
- application/json
|